<template>
  <article-detail :is-edit="action" />
</template>

<script>
import ArticleDetail from '../components/ArticleDetailNotice';

export default {
  name: 'CreateArticle',
  components: { ArticleDetail },
  data() {
    return {
      action: !!this.$route.query.action
    };
  }
};
</script>
